package com.skyline.search.model;

import java.io.Serializable;
import java.util.List;
import org.apache.lucene.document.Document;

/**
 * Class <code>ResultSet</code> Result存放返回信息，Page为分页信息，documents为返回的文档列表
 * 
 * @author Jairus Chan
 * @version 0.1, 11/30/10
 * @since JDK1.6
 */

public class ResultSet implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5358110863558534629L;
	private Page page;
	private List<Document> documents;
	
	public Page getPage() {
		return page;
	}
	public void setPage(Page page) {
		this.page = page;
	}
	public List<Document> getDocuments() {
		return documents;
	}
	public void setDocuments(List<Document> documents) {
		this.documents = documents;
	}
}